import { get, post } from '../util/request'

export default {
    install: function (Vue) {
        Vue.mixin({
            methods: {
                $get(url, params) {
                    return get(url, params);
                },
                $post(url, params, form = false) {
                    return post(url, params, form);
                }
            },
        });
    }
}
                // target:'http://47.100.4.54:8001',
